﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace EasierRdp.Controls
{
    class MultiPagePanel : Panel
    {
        public void AddPage(Control page)
        {
            Controls.Add(page);
            page.Dock = DockStyle.Fill;
        }

        public void RemovePage(Control page)
        {
            if (Controls.Contains(page))
            {
                Controls.Remove(page);
            }
        }
    }
}
